package com.example.process;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class ProcessDTO {
    private String id;
    private String name;
    private String key;
    private String desc;

    private List<FlowNodeDto> flowNodeList;

    @Getter
    @Setter
    private static class FlowNodeDto {
        private String name;
        /**
         * 节点类型
         * @see ProcessConst
         * user:用户审批节点
         * start:开始节点
         * end:结束节点
         */
        private String type;
        private List<String> userList;
    }
}
